package com.xuecheng.content.exception;

import com.xuecheng.base.exception.XCPlusBaseException;

/**
 * @description: 课程没有教师信息
 * @author 勾新杰
 * @version 1.0
 * @date 2025/2/15 21:42
 */
public class CourseHaveNoTeacherException extends XCPlusBaseException {

    CourseHaveNoTeacherException(String message){
        super(message);
    }

    public static void cast(){
        throw new CourseHaveNoTeacherException(ContentError.COURSE_HAVE_NO_TEACHER.getErrMessage());
    }
}
